package com.pojo;

import java.io.Serializable;
import java.util.Arrays;

public class Classify implements Serializable {
    private String typeId;
    private String[] brands;
    private String keyWord;
    private String orderBy;
    private Integer min;
    private Integer max;

    public Classify() {
    }

    public Classify(String typeId, String[] brands, String keyWord, String orderBy, Integer min, Integer max) {
        this.typeId = typeId;
        this.brands = brands;
        this.keyWord = keyWord;
        this.orderBy = orderBy;
        this.min = min;
        this.max = max;
    }

    public String getTypeId() {
        return typeId;
    }

    public void setTypeId(String typeId) {
        this.typeId = typeId;
    }

    public String[] getBrands() {
        return brands;
    }

    public void setBrands(String[] brands) {
        this.brands = brands;
    }

    public String getKeyWord() {
        return keyWord;
    }

    public void setKeyWord(String keyWord) {
        this.keyWord = keyWord;
    }

    public String getOrderBy() {
        return orderBy;
    }

    public void setOrderBy(String orderBy) {
        this.orderBy = orderBy;
    }

    public Integer getMin() {
        return min;
    }

    public void setMin(Integer min) {
        this.min = min;
    }

    public Integer getMax() {
        return max;
    }

    public void setMax(Integer max) {
        this.max = max;
    }

    @Override
    public String toString() {
        return "Classify{" +
                "typeId='" + typeId + '\'' +
                ", brands=" + Arrays.toString(brands) +
                ", keyWord='" + keyWord + '\'' +
                ", orderBy='" + orderBy + '\'' +
                ", min=" + min +
                ", max=" + max +
                '}';
    }
}
